<template>
  <div>
    <!-- 吸顶 -->
    <van-sticky :offset-top="0">
      <!-- 头部 -->
      <van-nav-bar title="千锋十大名医" left-arrow @click-left="onClickLeft" />
    </van-sticky>
    <!-- 封装好的名医组件 -->
    <HomeDoctor></HomeDoctor>
  </div>
</template>
  
<script setup lang="ts">
import HomeDoctor from "../../components/MyDoctor/HomeDoctor.vue";

import router from "@/router";

const onClickLeft = () => {
  router.push('/home')
}
</script>
  
<style scoped lang="scss">

</style>